package com.liufei.demo.service.impl;

import com.liufei.demo.dao.UserMapper;
import com.liufei.demo.model.User;
import com.liufei.demo.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author liufei
 * @version 1.0.0
 * @description
 * @date 2023/1/15
 */
@Service
public class UserServiceImpl implements UserService {


    @Resource
    private UserMapper userMapper;

    @Override
    public List<User> query() {
        return userMapper.query();
    }
}
